package common;

import com.spring.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Description: This is a sample class.
 * @Author: Simon
 */
public class WordServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object object) throws Throwable {
        System.out.println("BeforeAdvice: do something before the earth explodes");
    }
}
